using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Net;

namespace MVCWeb.Controllers
{
    public class CustomErrorController : Controller
    {
        //
        // GET: /CustomError/

        public ActionResult Unknown()
        {
            Response.StatusCode = (int)HttpStatusCode.InternalServerError;
            ViewData["CurrentView"] = "Technique Error";
            return View();
        }

    }
}
